package cn.nuist.dao;

import cn.nuist.entity.Customer;

import java.util.List;

public interface CustomerDao {
    List<Customer> getAllCustomer();

    void addCustomer(Customer customer);

    void deleteCustomer(Integer id);

    Customer getCustomerById(Integer id);
    Customer getCustomerByName(String customerName);

    void update(Customer customer);

}
